package cn.itcast.com.String;

import com.sun.org.apache.xerces.internal.impl.xs.SchemaNamespaceSupport;

import java.util.Scanner;

public class demo2 {
    public static void main(String[] args) {
        String s3 = "zhangsan";
        String s4 = "ang";

        boolean san = s3.endsWith("san");
        System.out.println(san);

        String s = new String();
        boolean empty = "".isEmpty();
        System.out.println(empty);
    }
}
